package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 生成的所有兑换码表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_cdkey_detail")
@ApiModel(value = "XhCdkeyDetail对象", description = "生成的所有兑换码表")
public class XhCdkeyDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("兑换码单子表的ID")
    private Integer cdkeyId;

    @ApiModelProperty("兑换码编号")
    private String cdkeyCode;

    @ApiModelProperty("使用状态：1.未使用(默认) 0.已使用")
    private Integer cdkeyStatus;

    @ApiModelProperty("会员ID")
    private Integer memberId;

    private String memberNo;

    @ApiModelProperty("使用时间")
    private Date useTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
